Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-8528 mavlink orb poll #665

Merged
merged 4 commits into from
Apr 16, 2024
Merged

DP-8528 mavlink orb poll #665

merged 4 commits into from
Apr 16, 2024

Conversation

jnippula
Copy link

@jnippula jnippula commented Apr 5, 2024

Mavlink main loop changed to use uorb poll instead of waiting with px4_usleep. This allows higher stream rates in systems which has long system tick period.
For this feature, new ack method added to uORB to be able to just acknowledge orb updates for next poll without copying all the data from all subscribed topics.

Add uorb interface to just acknowledge the updates for next poll
without needs to copy data from all the updated topics.
@jnippula jnippula requested review from jlaitine and t-salminen April 5, 2024 08:06
@jnippula jnippula force-pushed the DP-8528-mavlink-orb-poll branch from 4e15f0e to 409f6d0 Compare April 15, 2024 11:18
In mavlink main loop use uorb poll for streams instead of waiting
px4_usleep to allow higher stream rates in systems having long
system tick period.
@jnippula jnippula force-pushed the DP-8528-mavlink-orb-poll branch from 409f6d0 to aa9e6a0 Compare April 15, 2024 11:39
@jnippula jnippula requested a review from jlaitine April 16, 2024 04:47
@jnippula jnippula merged commit d75b1d9 into main Apr 16, 2024
28 checks passed
@jnippula jnippula deleted the DP-8528-mavlink-orb-poll branch June 6, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants